@import "./variables.scss";
@import "./mixin.scss";
@import "./transition.scss";
@import "./element-ui.scss";
@import "./sidebar.scss";
@import "./特效.css";
body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
    Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
input[type="number"] {
  -moz-appearance: textfield;
}
#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

.ellipsis2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
// main-container global css

.app-container {
  padding: 20px;
  .app-top {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 10px;
    border-bottom: 1px solid rgb(239, 239, 239);
    .input-line {
      display: flex;
      align-items: center;
      padding: 0 50px 0 10px;
      .input-label {
        font-size: 14px;
        padding-right: 10px;
      }
    }
  }
  .app-pagination {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .function {
    padding: 10px;
  }
  .link {
    display: flex;
    justify-content: space-around;
    .el-link {
      font-size: 12px;
    }
  }
}
.scroll {
  overflow: auto;
}
.scroll::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
.scroll::-webkit-scrollbar-track {
  background: rgb(239, 239, 239);
  border-radius: 2px;
}
.scroll::-webkit-scrollbar-thumb {
  background: #bfbfbf;
  border-radius: 10px;
}
.scroll::-webkit-scrollbar-thumb:hover {
  background: #333;
}
.scroll::-webkit-scrollbar-corner {
  background: #179a16;
}
.tree {
  display: flex;
  max-height: -webkit-fill-available;
  &-tree {
    width: 200px;
    margin: 20px 20px 20px 0;
  }
  &-table {
    flex: 1;
  }
}
